package com.jt.controller;

public class MyTest {
    public static void main(String[] args) {
        MyThreadPool pool = new MyThreadPool(2, 5, 10);
        for (int i = 0; i < 10; i++) {
            MyTask myTask = new MyTask(i);
            pool.submit(myTask);
        }

    }
}
